<?php

class componentsComponents extends sfComponents {
    
    public function executeHeader(){
        $categories = array();
        $c = new Criteria();
        
        $c->clear();
        $c->addAscendingOrderByColumn(CategoryPeer::SEQUENCE);
        $categories = CategoryPeer::doSelect($c);
        $this->categories = $categories;
    }
    
    public function executeFooter(){

    }
    
}
